﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 装饰模式.Decorator
{
    /// <summary>
    /// 装饰器
    /// </summary>
    public class BaseDecorator : BaseCharacter
    {
        private BaseCharacter _BaseCharacter = null;

        public BaseDecorator(BaseCharacter character)
        {
            _BaseCharacter = character;
        }
        public override void Show()
        {
            _BaseCharacter.Show();
        }
    }
}
